﻿    <Grid Background="#FF2d88f0" x:Class="cnBlogs.Views.SplashScreenView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:cnBlogs.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    	<Grid.Resources>
    		<Storyboard x:Name="FadeOut">
    			<DoubleAnimation Duration="0:0:1" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="img_logo" d:IsOptimized="True"/>
    			<DoubleAnimation Duration="0:0:1" To="2" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="img_logo" d:IsOptimized="True"/>
    			<DoubleAnimation Duration="0:0:1" To="2" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="img_logo" d:IsOptimized="True"/>
    			<DoubleAnimation Duration="0:0:1" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="img_logo" d:IsOptimized="True"/>
    		</Storyboard>
    	</Grid.Resources>
        <Canvas>
            <Grid x:Name="grid_logo">
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
            <Image x:Name="img_logo" Source="/Assets/SplashScreen.png" RenderTransformOrigin="0.5,0.5" >
            	<Image.RenderTransform>
            		<CompositeTransform/>
            	</Image.RenderTransform>
            </Image>
            <!--<ProgressRing Width="50" Height="50" Foreground="White" Grid.Row="1" IsActive="True"/>-->
            </Grid>
        </Canvas>
    </Grid>